package cn.net.shuxing.yifu.common.service;

import cn.net.shuxing.yifu.common.dto.BaseDto;
import cn.net.shuxing.yifu.common.util.JedisUtil;
import cn.net.shuxing.yifu.common.util.RedisKeyCreator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

@Service
public class CoinGrantService {

    @Autowired
    private JedisUtil jedisUtil;

    /** 设置配发时间和配发间隔 **/
//    public BaseDto setStartGrantTimeAndGrantIntervalTime(String startGrantTime, String grantIntervalTime)
//    {
//        jedisUtil.setInRedis(RedisKeyCreator.startGrantTime(),LocalDateTime.parse(startGrantTime));
//        String[] split = grantIntervalTime.split("/");
//
//        jedisUtil.setInRedis(RedisKeyCreator.grantIntervalTime(),);
//    }
}
